From 3354ad080bcc65b7ecb1c6c886c5e338bced8611 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Thu, 12 Oct 2017 19:40:45 +0100 Subject: [PATCH] StyleContext: Add CSS snippet language comments The language is useful for parsing tools, such as that of gtkmm, which otherwise assumes these are C snippets and elides them from its generated documentation. --- gtk/gtkstylecontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 12148cf169..5f5637d8f4 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -1202,13 +1202,13 @@ gtk_style_context_restore (GtkStyleContext *context) * In the CSS file format, a #GtkEntry defining a “search” * class, would be matched by: * - * |[ + * |[ * entry.search { ... } * ]| * * While any widget defining a “search” class would be * matched by: - * |[ + * |[ * .search { ... } * ]| * -- 2.30.2